package net.uhuijia.user.userwxopen.service;

import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import net.uhuijia.appbase.service.BaseService;
import net.uhuijia.user.userwxopen.persistence.model.UserWxopen;
import net.uhuijia.user.userwxopen.persistence.model.UserWxopenExample;


@Service
@Transactional
public interface UserWxopenService
     extends BaseService<UserWxopen,UserWxopenExample> {

	/**
	 * 根据unionid 和  ghid 查找有没有授权的用户信息
	 * @param unionid
	 * @param ghid
	 * @return
	 */
	UserWxopen getByUnionidAndGhid(String unionid, String ghid);

	String addWxopen(UserWxopen param);

}